package com.ss.android.common.dialog;

import android.annotation.SuppressLint;
import android.view.View.OnApplyWindowInsetsListener;
import android.view.View;
import android.view.WindowInsets;

import com.ss.android.article.browser.R;

@SuppressLint("NewApi")
final class c implements OnApplyWindowInsetsListener {
    private final AlertController b;
    private final View a;

    c(AlertController arg1, View arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    @SuppressLint(value={"NewApi"}) public final WindowInsets onApplyWindowInsets(View arg3, WindowInsets arg4) {
        if(arg4.isRound()) {
            int v0 = this.b.mContext.getResources().getDimensionPixelOffset(R.dimen.bq);
            this.a.setPadding(v0, v0, v0, v0);
        }

        return arg4.consumeSystemWindowInsets();
    }
}

